<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
	<title>{% block title %}{% endblock %} - 小淘怡情</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="baidu-tc-verification" content="35d28782e914ebabd284381a925a4bc4" />
    <!-- Loading Bootstrap -->
    <link href="/statics/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="/statics/css/flat-ui.css" rel="stylesheet">
    <link href="/statics/css/ruobiyi.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="/statics/images/favicon.ico">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
    <![endif]-->
  </head>
  <body>
	<div id="menu" style="position: fixed;">
		<div class="container">
          <ul class="nav nav-pills">
            <li {% if store == 0 %}
                    class="active"
                {% endif %}>
                <a href="/index">小淘怡情</a></li>
            <li {% if store == 1 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=1">天猫商城</a></li>
            <li {% if store == 2 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=2">京东商城</a></li>
            <li {% if store == 3 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=3">苏宁易购</a></li>
            <li {% if store == 5 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=5">QQ商城</a></li>
            <li {% if store == 4 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=4">亚马逊</a></li>
            <li {% if store == 6 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=6">淘宝网</a></li>
            <li {% if store == 7 %}
                    class="active"
                {% endif %}>
                <a href="/index?store=7">当当网</a></li>
            <li>
                <a href="#">垂直商城</a></li>
          </ul>
        </div>
	</div>
    <div class="container">
    	<div class="row">
    		<div class="span2 affixtop">
    			<div class="navbar navbar-inverse">
		            <div class="navbar-inner">
		              <div class="container">
		                <div class="nav-collapse collapse">
		                  <ul class="nav">
		                    <li {% if category == 1 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=1">数码家电</a>
                            </li>
		                    <li {% if category == 2 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=2">个护化妆</a>
                            </li>
		                    <li {% if category == 3 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=3">食品保健</a>
                            </li>
		                    <li {% if category == 5 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=5">家居生活</a>
                            </li>
		                    <li {% if category == 4 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=4">图书音像</a>
                            </li>
		                    <li {% if category == 6 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=6">服饰鞋包</a>
                            </li>
		                    <li {% if category == 7 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=7">母婴玩具</a>
                            </li>
		                    <li {% if category == 8 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=8">钟表首饰</a>
                            </li>
		                    <li {% if category == 9 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=9">运动户外</a>
                            </li>
		                    <li {% if category == 10 %}
                                    class="active"
                                {% endif %}>
                                <a href="/index?store={{store}}&category=10">杂七杂八</a>
                            </li>
		                  </ul>
		                </div><!--/.nav-collapse -->
		              </div>
		            </div>
		        </div>
    		</div>
    		<div class="span12 content">
	    		{% block body %}
	    		{% endblock body %}
    		</div>
            <div class="span12 content" id="nonemore" style="display:none;">
                <ul  class="row demo-tiles unstyled">
                    <li class="span12 ruobiyitile">
                        <div class="tile productrow">没有更多的推荐信息了，谢谢您的关注
                        </div>
                    </li>
                </ul>
            </div>
    	</div>
    </div>
</body>
<script src="statics/js/jquery.min.js"></script>
<script src="statics/js/application.js"></script>
<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey=21215617"></script>
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=3209255093" type="text/javascript" charset="utf-8"></script>
{% block script %}
{% endblock script %}
</html>